import request from '@/utils/request'
import { tradeApi } from '@/utils/comm'

// 查询佣金记录列表
export function listBrokerageRecord(query) {
  return request({
    url: `${tradeApi}/brokerageRecord/list`,
    method: 'get',
    params: query
  })
}

// 查询佣金记录详细
export function getBrokerageRecord(id) {
  return request({
    url: `${tradeApi}/brokerageRecord/` + id,
    method: 'get'
  })
}
